<template>
  <div class="fly-panel fly-panel-user" pad20>
    <div class="layui-tab layui-tab-brief" lay-filter="user">
      <ul class="layui-tab-title" id="LAY_mine">
        <router-link lay-id="info" tag="li" :to="{name: 'mypost'}">我的发帖</router-link>
        <router-link lay-id="avatar" tag="li" :to="{name: 'collection'}">我收藏的贴</router-link>
      </ul>
      <div class="layui-tab-content" style="padding: 20px 0;">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'Posts'
};
</script>
<style scoped lang="scss">

</style>
